package com.business.dynamic.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.business.dynamic.entity.DynamicComment;
import com.business.dynamic.entity.vo.DynamicCommentVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 动态评论表:数据层
 * @author chenjiehong
 * @date 2019-11-29 15:15:38
 * @since 1.0
 */
public interface DynamicCommentMapper extends BaseMapper<DynamicComment> {

    /**
     *
     * @param page
     * @param wrapper
     * @return
     */
    List<DynamicCommentVo> queryPage(@Param("page") Page<DynamicComment> page, @Param("ew")Wrapper<DynamicComment> wrapper);

}
